package com.nb.vo;


import lombok.Data;

import java.util.List;

@Data
public class UserInfoVO {

    private Long userId;
    private String username;
    private String realName;
    private Long deptId;
    private String deptName;
    private List<String> roles;
    private List<String> permissions;
    private List<Menu> menuList;

    @Data
    public class Menu {
        private long id;
        private String path;
        private String name;
        private String component;
        private List<Menu> children;
    }

}
